package homework.HomeWork02;
//定义动物类
public class Animal {
    //属性
    private int age;

    //行为
    public void drinkWater(){
        System.out.println("动物在喝水");
    }

    //吃东西(吃什么不确定)
    public void eat(){
        System.out.println("Animal在吃~~");
    }
}
